package com.lyc.entity;

import com.lyc.util.DBUtil;
import java.io.Serializable;

public class CountryInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @DBUtil.Id
    private String countryCode;

    private String countryNameCn;

    private String countryNameEn;

    private String countryName;

    private String countryUri;

    public CountryInfo(){}

    public CountryInfo(String countryCode, String countryNameCn, String countryNameEn, String countryName, String countryUri){
        this.countryCode = countryCode;
        this.countryNameCn = countryNameCn;
        this.countryNameEn = countryNameEn;
        this.countryName = countryName;
        this.countryUri = countryUri;
    }

    public CountryInfo(String countryCode){
        this.countryCode = countryCode;
    }

    public String getCountryCode(){
        return countryCode;
    }

    public void setCountryCode(String countryCode){
        this.countryCode = countryCode;
    }

    public String getCountryNameCn(){
        return countryNameCn;
    }

    public void setCountryNameCn(String countryNameCn){
        this.countryNameCn = countryNameCn;
    }

    public String getCountryNameEn(){
        return countryNameEn;
    }

    public void setCountryNameEn(String countryNameEn){
        this.countryNameEn = countryNameEn;
    }

    public String getCountryName(){
        return countryName;
    }

    public void setCountryName(String countryName){
        this.countryName = countryName;
    }

    public String getCountryUri(){
        return countryUri;
    }

    public void setCountryUri(String countryUri){
        this.countryUri = countryUri;
    }

    @Override
    public String toString() {
        return "CountryInfo{" +
                "countryCode='" + countryCode + '\'' +
                ", countryNameCn='" + countryNameCn + '\'' +
                ", countryNameEn='" + countryNameEn + '\'' +
                ", countryName='" + countryName + '\'' +
                ", countryUri='" + countryUri + '\'' +
                '}';
    }
}
